﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UcSelectOuButton.ascx.cs" Inherits="Honestysoft.Baseframework.WebUI.Apply.UcSelectOuButton" %>
<asp:Button runat="server" ID="btnSelect" onclick="btnSelect_Click" />
<asp:HiddenField runat="server" ID="hidValue" />
<asp:HiddenField runat="server" ID="hidText" />
<asp:HiddenField runat="server" ID="hidSelectMode" />
<asp:HiddenField runat="server" ID="hidSelectTarget" />
<asp:HiddenField runat="server" ID="hidSelectNodeType" />
<asp:HiddenField runat="server" ID="hidViewStyle" />
<script language="javascript" type="text/javascript">
function Select<%=this.UniqueID %>(){
    var viewStyle=document.getElementById("<%=hidViewStyle.ClientID %>").value;
    var selectMode=document.getElementById("<%=hidSelectMode.ClientID %>").value;
    var selectTarget=document.getElementById("<%=hidSelectTarget.ClientID %>").value;
    var selectOuType=document.getElementById("<%=hidSelectNodeType.ClientID %>").value;
    return SelectOu('<%=Honestysoft.Baseframework.WebUI.Globals.Home %>', viewStyle, selectMode,selectTarget,selectOuType, '<%=hidText.ClientID %>', '<%=hidValue.ClientID %>');
}
</script>